Service process starting method and apparatus

ABSTRACT

A method for starting an operation process comprises: receiving an operation request message from a terminal device in response to the terminal device scanning a barcode to obtain barcode information and determining an address of the server based on the barcode information, the operation request comprising an image of text associated with the barcode scanned by the terminal device, and the image of text specifying an operation function; determining text content based on the image of text; searching a correspondence relationship between different text content and respective operation access information to obtain operation access information corresponding to the determined text content; and returning the operation access information to the terminal device, for the terminal device to start an operation process by using the operation access information, the operation process having the operation function specified by the received image of text.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation application of InternationalPatent Application No. PCT/CN2018/105728, filed on Sep. 14, 2018, whichis based on and claims priority to the Chinese Patent Application No.201711055749.6, filed on Nov. 1, 2017 and entitled “SERVICE PROCESSSTARTING METHOD AND APPARATUS.” The above-referenced applications areincorporated herein by reference in their entirety.

TECHNICAL FIELD

The application relates to the field of network communicationtechnologies, and in particular, to a method and apparatus for startingan operation process.

BACKGROUND

A barcode is a group of bars and spaces arranged according to somecoding rules and is used for representing some information formed bycharacters, numbers and symbols. Barcodes comprise one-dimensionalbarcodes and two-dimensional barcodes, where a one-dimensional barcoderepresents information by multiple black bars and spaces arrangedaccording to a rule, and a two-dimensional barcode (also referred to asa Quick Response (QR) code) records information by a pattern in blackand white with a particular geometric shape distributed on a plane (intwo-dimensional directions) according to a rule.

With the development of mobile Internet technologies and smart terminaldevices, people become increasingly used to complete various tasks inwork and life by using networks. These tasks may be regarded asoperation performed based on networks. In the operation performed incombination with an offline scenario, the approach through scanning abarcode has been extensively used to start an operation process.However, to deploy barcodes in an offline scenario, the barcodes need tobe generated, and barcode materials need to be printed and placed. Howto reduce material and labor costs required by starting an operationprocess via the way of scanning barcodes is an issue to be considered inimplementing the operation process.

SUMMARY

In view of the above, embodiments of the specification provides acomputer-implemented method for starting an operation process. Themethod comprises: receiving an operation request message from a terminaldevice in response to the terminal device scanning a barcode to obtainbarcode information and determining an address of the server based onthe barcode information, the operation request comprising an image oftext associated with the barcode scanned by the terminal device, and theimage of text specifying an operation function; determining text contentbased on the image of text; searching a correspondence relationshipbetween different text content and respective operation accessinformation to obtain operation access information corresponding to thedetermined text content; and returning the operation access informationto the terminal device, for the terminal device to start an operationprocess by using the operation access information, the operation processhaving the operation function specified by the received image of text.

In some embodiments, the operation request message further comprises: anidentifier of a barcode provider of the barcode.

In some embodiments, the correspondence relationship between differenttext content and respective operation access information comprises:correspondence relationship among a plurality of identifiers of barcodeproviders, the different text content and respective operation accessinformation.

In some embodiments, searching a correspondence relationship betweendifferent text content and respective operation access information toobtain operation access information corresponding to the determined textcontent comprises: searching the correspondence relationship to obtainoperation access information corresponding to the identifier of thebarcode provider of the barcode and the determined text content.

In some embodiments, the method further comprises: returning defaultoperation access information to the terminal device in response todetermining that the correspondence relationship does not comprise thedetermined text content.

In some embodiments, the operation access information comprises: anaddress of an operation process start page or invocation information ofan operation access program.

In some embodiments, the operation process comprises: user registrationor receiving a coupon.

Embodiments of the specification further provides anothercomputer-implemented method for starting an operation process. Themethod comprises: scanning a barcode to obtain barcode information andobtain an image of text associated with the barcode, the image of textspecifying an operation function; determining an address of a serverbased on the barcode information; recognizing the image of text todetermine text content; sending to the server according to the addressof the server an operation request message comprising the text content,for the server to determine operation access information according to acorrespondence relationship between the text content and the operationaccess information; receiving the operation access information from theserver; and starting an operation process by using the operation accessinformation, the operation process having the operation functionspecified by the image of text.

In some embodiments, scanning a barcode to obtain barcode informationand obtain an image of text associated with the barcode comprises:scanning the barcode and the image of text associated with the barcodeto obtain the barcode information and to obtain the image of text.

In some embodiments, the method further comprises: extracting anidentifier of a barcode provider of the barcode from the barcodeinformation; and wherein the operation request message furthercomprises: the identifier of the barcode provider of the barcode.

In some embodiments, the correspondence relationship between the textcontent and the operation access information comprises: correspondencerelationship among a plurality of identifiers of barcode providers,different text content and respective operation access information.

In some embodiments, the operation process comprises: user registrationor receiving a coupon.

In some embodiments, the operation access information comprises: anaddress of an operation process start page or invocation information ofan operation access program.

In some embodiments, the operation access information is defaultoperation access information; and starting an operation process by usingthe operation access information comprises: starting a default operationprocess by using the default operation access information.

Embodiments of the specification further provides an apparatus forstarting an operation process. The apparatus comprises: one or moreprocessors and one or more non-transitory computer-readable memoriescoupled to the one or more processors and configured with instructionsexecutable by the one or more processors to cause the apparatus toperform operations comprising: receiving an operation request messagefrom a terminal device in response to the terminal device scanning abarcode to obtain barcode information and determining an address of theserver based on the barcode information, the operation requestcomprising an image of text associated with the barcode scanned by theterminal device, and the image of text specifying an operation function;determining text content based on the image of text; searching acorrespondence relationship between different text content andrespective operation access information to obtain operation accessinformation corresponding to the determined text content; and returningthe operation access information to the terminal device, for theterminal device to start an operation process by using the operationaccess information, the operation process having the operation functionspecified by the received image of text.

Embodiments of the specification further provides a computer readablestorage medium, wherein the computer readable storage medium stores acomputer program, and the computer program, when executed by aprocessor, implements any one of the above-described methods forstarting an operation process.

From the above-described embodiments of the specification, thecorrespondence relationship between second function information andoperation access information is maintained at a server; a terminaldevice scans a barcode to obtain first function information of thebarcode and then uploads the first function information to the server;the server determines second function information according to the firstfunction information and returns operation access informationcorresponding to the second function information to the terminal device;the terminal device starts an operation process by using the operationaccess information, the operation process having a specified operationfunction. As a result, the same barcode can be used to start two or moreoperation processes, thereby reducing the material and labor costsrequired by barcode deployment; and a new operation process can bestarted by introducing first function information and a correspondencerelationship between second function information and operation accessinformation, without the need of deploying a new barcode for the newoperation process, accelerating the launch of the new operation.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow chart of a method for starting an operation process,applied to a terminal device, according to some embodiments of thespecification;

FIG. 2 is a flow chart of a method for starting an operation process,applied to a server, according to some embodiments of the specification;

FIG. 3 is a schematic diagram of a QR code having an image of text in anapplication example of the specification;

FIG. 4 is a schematic diagram of another QR code having an image of textin an application example of the specification;

FIG. 5 is a hardware structural diagram of a terminal device or a devicewhere a server is located, according to some embodiments of thespecification;

FIG. 6 is a structural diagram of an apparatus for starting an operationprocess, applied to a terminal device, according to some embodiments ofthe specification; and

FIG. 7 is a structural diagram of an apparatus for starting an operationprocess, applied to a server, according to some embodiments of thespecification.

DETAILED DESCRIPTION OF THE INVENTION

The embodiments of the specification provide a method for starting anoperation process, by which a terminal device scans a barcode to obtainfirst function information of the barcode, a server receives the firstfunction information uploaded by the terminal device, determines secondfunction information according to the first function information andthen returns operation access information corresponding to the secondfunction information to the terminal device, and the terminal devicestarts an operation process according to the received operation accessinformation, the operation process having an operation functionspecified by the first function information, thereby using the barcoderepeatedly for multiple operation processes through the first functioninformation without the need to deploy a respective barcode for eachoperation process, reducing labor and material costs of applyingbarcodes in offline scenarios; in addition, a new operation process forimplementing a new operation function can be rapidly started by addingfirst function information, second function information andcorresponding operation access information for the new operationfunction without the need to deploy a new barcode.

In the embodiments of the specification, a terminal device and a serverof a sender and a terminal device and a server of a receiver of aninstant message may access each other via a network, where the terminaldevice (e.g., the terminal device of the sender and/or the receiver) maybe a cell phone, a tablet computer, a Personal Computer (PC), a laptopcomputer, or other devices; the server may be a physical or logicalserver, or may include two or more physical or logical servers havingdifferent responsibilities of achieving various functions of the serverin the embodiments of the specification through collaboration. The typesof the terminal device and the server, the types and protocols of acommunication network between a terminal device and a server of thesender and between a terminal device and a server of the receiver, andthe like are not limited by the embodiments of the specification.

The embodiments of the specification may be implemented on any devicehaving computing and storage capabilities, such as a cell phone, atablet computer, a PC, a laptop computer, a server and the like;moreover, various functions of the embodiments of the specification maybe achieved by logic nodes operating on two or more devices.

In the embodiments of the specification, the terminal device and theserver may access each other via a network, where the terminal devicemay be a cell phone, a tablet computer, a PC, a laptop computer, orother devices; the server may operate on one or more devices, such asPCs, and laptop computers, or, may include two or more logical serversoperating separately and collaborating to achieve various functions ofthe server in the embodiments of the specification. The types of theterminal devices and the devices where the server is located, the typesand protocols of a communication network between terminal devices andservers, and the like are not limited by the embodiments of thespecification.

In the embodiments of the specification, the flow of a method forstarting an operation process, applied to a terminal device, is as shownin FIG. 1, and the flow of a method for starting an operation process,applied to a server, is as shown in FIG. 2.

At step 110, in the terminal device, the method may include scanning abarcode to obtain barcode information and obtain first functioninformation of the barcode.

At step 120, in the terminal device, the method may include sending anoperation request message comprising the first function information to aserver according to the barcode information.

At step 210, in the server, the method may include receiving theoperation request message sent from the terminal device.

At step 220, in the server, the method may include determining secondfunction information according to the first function information, andsearching a correspondence relationship between second functioninformation and operation access information to obtain operation accessinformation corresponding to the second function information.

In the embodiments of the specification, the first function informationand the second function information are used for specifying operationfunctions. The first function information is associated with a barcode.For example, any information containing changeable content obtained by aterminal device when (e.g., including at the same time as, before, andafter) the terminal device scans a barcode may be used to generate firstfunction information associated with the barcode. An operation functionto be implemented by an operation process to be started may be specifiedthrough different contents of the first function information associatedwith the barcode. For example, the first function information may be animage of text (or the text content in the image), terminal deviceattitude (while the terminal device is scanning a barcode), fingerprintor voice input (e.g., obtained after a terminal device scans a barcode)used to specify an operation function. Different operation functions maybe specified through different text contents in the images of text,different attitudes, different fingerprints or different voice contents.The terminal device attitude may be the terminal device's orientation ina three-dimensional space relative to a reference frame. For example,the terminal device attitude may be represented by values of roll,pitch, and yaw. The second function information may be determined by theserver according to the first function information. The second functioninformation may be the first function information per se or may be dataobtained by processing the first function information. The servermaintains a correspondence relationship between the second functioninformation and operation access information.

According to a user's operation, the terminal device may scan a barcodepresented by a barcode provider and extract barcode information fromimage data of the barcode. The terminal device may use the barcodeinformation to initiate a connection to the server and send an operationrequest message to the server. The operation request message comprisesthe first function information and may further comprise otherinformation carried by the terminal device when initiating an access tothe server after scanning the barcode. The server may receive theoperation request message from the terminal device, determine secondfunction information according to the first function informationextracted from the operation request message, and search the maintainedcorrespondence relationship to obtain operation access informationcorresponding to the second function information.

An implementation manner in which the terminal device scans a barcode,extracts barcode information from image data of the barcode, andinitiates an access to the server according to the barcode informationmay be achieved with reference to the various technologies, which willnot be elaborated. In the embodiments of the specification, the barcodemay be either a one-dimensional barcode or a two-dimensional barcode.

In some embodiments, if a user makes incorrect operations on theterminal device or something goes wrong when a server processes thefirst function information uploaded by a terminal device to obtainsecond function information, it is possible that the server is unable tofind the second function information in the maintained correspondencerelationship. Default operation access information may be set for thistype of situations. When the correspondence relationship does notcomprise second function information determined according to the firstfunction information, the server may return the default operation accessinformation to the terminal device. Upon receiving the default operationaccess information, the terminal device may use the default operationaccess information to start a default operation process. The defaultoperation process may or may not be an operation process having theoperation function specified by the first function information.

With regard to some operation performed between barcode providers andusers using terminal devices, for the same first function information,different barcode providers may start different operation processes toachieve different functions, thereby achieving personalized operationwith respect to the barcode providers. In these circumstances, acorrespondence relationship among identifiers of different barcodeproviders (also referred to as barcode provider identifiers), differentsecond function information and operation access information may bemaintained at a server; a terminal device may extract a barcode provideridentifier from the barcode information, package the first functioninformation and the barcode provider identifier in an operation requestmessage, and send the operation request message to the server; afterdetermining second function information according to the first functioninformation, the server may search the maintained correspondencerelationship to obtain operation access information corresponding to thebarcode provider identifier and the second function information. In someembodiments, a barcode provider may set its own correspondencerelationship among the barcode provider identifier, second functioninformation and operation access information at a server, so as toindependently determine and manage its own operation process.

Formats of the first function information and the second functioninformation and manners in which the terminal device obtains the firstfunction information may be determined according to factors such asrequirements of embodiments, features of the operation, and the like,which are not limited by the embodiments of the specification.Embodiments and examples will be provided below for illustration.

In some embodiments, a barcode provider displays a barcode having animage of text, a terminal device scans the image of text as well as thebarcode. For example, the image of text surrounds the barcode or isembedded in the barcode. Different text content may correspond todifferent operation functions. A correspondence relationship betweentext content and operation access information is maintained at a server.

For example, the terminal device scans the barcode to obtain barcodeinformation and an image of text of the barcode, uses the image of textas the first function information, and uploads the first functioninformation to the server in an operation request message. The serverrecognizes the image of text uploaded by the terminal device to obtainthe text content (e.g., the second function information), and furthersearches the correspondence relationship to obtain operation accessinformation corresponding to the text content.

In another example, the terminal device scans the barcode to obtainbarcode information and an image of text of the barcode, uses the textcontent obtained by recognizing the image of text as the first functioninformation, and uploads the first function information to the server inan operation request message. The server uses the text content receivedfrom the terminal device as the second function information, andsearches the correspondence relationship to obtain operation accessinformation corresponding to the text content.

In some embodiments, different measurements of the attitude of aterminal device when scanning a barcode are used to start differentoperation processes to achieve different functions. A correspondencerelationship between attitude information (e.g., including differentattitudes of the terminal device) and operation access information ismaintained at a server.

For example, the terminal device scans the barcode to obtain barcodeinformation, collects output data from a gyroscope of the terminaldevice when scanning the barcode, uses the gyroscope's output data todetermine attitude information (e.g., attitude measurements) of theterminal device when scanning the barcode, uses the attitude informationas the first function information, and uploads the first functioninformation to the server in an operation request message. The serveruses the attitude information received from the terminal device as thesecond function information, and searches the correspondencerelationship to obtain operation access information corresponding to theattitude information.

In some embodiments, a terminal device prompts a user (e.g., a useroperating on the terminal device) to input a fingerprint when scanning abarcode or prompts the user to input a fingerprint after scanning thebarcode, and fingerprints of different fingers may correspond todifferent operation functions. A correspondence relationship betweenfingerprint identifiers and operation access information is maintainedat a server. An identifier of a fingerprint (also referred to as afingerprint identifier) may be associated with or correspond to afingerprint of a respective finger.

For example, the terminal device scans the barcode to obtain barcodeinformation, receives a fingerprint input by the user and generatesfingerprint data, uses the fingerprint data as the first functioninformation, and uploads the first function information to the server.The server recognizes the fingerprint data uploaded by the terminaldevice to obtain a fingerprint identifier (the second functioninformation) corresponding to the fingerprint data, and searches thecorrespondence relationship to obtain operation access informationcorresponding to the fingerprint identifier.

In another example, the terminal device scans the barcode to obtainbarcode information and receives a fingerprint input by the user. Theterminal device recognizes the input fingerprint to obtain a fingerprintidentifier of the input fingerprint, uses the fingerprint identifier asthe first function information, and uploads the first functioninformation to the server in an operation request message. The serveruses the fingerprint identifier received from the terminal device as thesecond function information, and searches the correspondencerelationship to obtain operation access information corresponding to thefingerprint identifier.

In some embodiments, a terminal device prompts a user to use voice tospeak out an operation function to be used while or before scanning abarcode. The user may start, using the speech, an operation process thatachieves the function. The speech may contain one or more functionkeywords, as well as other words which may indicate a context. Acorrespondence relationship between function keywords and operationaccess information is maintained at a server.

For example, the terminal device scans the barcode to obtain barcodeinformation, receives a speech input by the user and generates audiodata, uses the audio data as the first function information, and uploadsthe first function information to the server. The server recognizes theaudio data uploaded by the terminal device to obtain text, determines afunction keyword (the second function information) expressed by theaudio data according to a recognition result (e.g., the obtained text,etc.), and searches the correspondence relationship to obtain operationaccess information corresponding to the function keyword.

In another example, the terminal device scans the barcode to obtainbarcode information, receives a speech input by the user, recognizes theinput speech of the user to obtain text, uses the text as the firstfunction information, and uploads the first function information to theserver. The server determines a function keyword (the second functioninformation) expressed by the text uploaded by the terminal device, andsearches the correspondence relationship to obtain operation accessinformation corresponding to the function keyword.

In the above-described examples, the server may use various semanticanalysis technologies or other related technologies to analyze the textto obtain a function keyword, which is not limited by the specification.

At step 230, in the server, the method may include returning theoperation access information to the terminal device.

At step 130, in the terminal device, the method may include receivingthe operation access information returned by the server, and starting anoperation process based on the operation access information, where theoperation process has an operation function specified by the firstfunction information.

The server returns the operation access information corresponding to thesecond function information to the terminal device, and the terminaldevice starts the operation process for achieving the operation functionspecified by the first function information by using the returnedoperation access information.

In the embodiments of the specification, the operation accessinformation may be various information required by the terminal devicewhen starting an operation process, and may be determined according tofactors such as working modes between a terminal device and a server,operating manners of the operation, and the like, in practicalembodiments, for which no limitation is placed by the specification.

For example, the operation access information may be a page address ofan operation process start page accessible through a network, and theterminal device starts a particular operation process when accessingthis start page; and different pages may be accessed when differentoperation processes are to be started. In another example, the operationaccess information may also be invocation information of an operationaccess program, and the terminal device starts a particular operationprocess when using the invocation information to start the execution ofthe operation access program; and different operation access programs(e.g., different Apps installed on the terminal device) may be executedby different operation processes, or different invocation informationmay be used to execute the same operation access program.

Therefore, in the embodiments of the specification, after scanning thebarcode and obtaining the first function information of the barcode, theterminal device uploads the first function information to the server,the server determines second function information according to the firstfunction information and returns operation access informationcorresponding to the second function information to the terminal device;the terminal device starts an operation process by using the operationaccess information, where the operation process has a specifiedoperation function. According to the embodiments of the specification,the same barcode can be used to start two or more operation processes,and there is no need to deploy a respective barcode for each operationprocess, thereby reducing material and labor costs required by barcodedeployment.

Some embodiments of the specification are described above, and otherembodiments fall within the scope of the appended claims. In somesituations, actions or steps set forth in the claims may be executed inan order different from those in the embodiments and can still achievedesired results. In addition, processes depicted in the accompanyingdrawings may not necessarily require the illustrated order or acontinuous order to achieve desired results. In some implementationmanners, multi-task processing and parallel processing are also feasibleor may be beneficial.

In an application example of the specification, in the correspondencerelationship between second function information and operation accessinformation maintained at the server, a merchant configures “Become amember” to correspond to a program access address for downloading andinstalling an application (App) of the merchant and performing userregistration, and configures the operation access information to bedefault operation access information. The merchant provides the QR codeand an image having text of “Become a member” as shown in FIG. 3 forusers' terminal devices to scan.

When the merchant holds a temporary promotion event, in thecorrespondence relationship between second function information andoperation access information maintained at the server, the merchantconfigures “Receive a coupon” to correspond to a program access addressfor receiving this merchant's coupon in an App of a third-party paymentplatform, and changes the image of text in the QR code shown in FIG. 3to have the text of “Receive a coupon.” The QR code with the imagehaving the changed text to be presented to users is shown in FIG. 4.After the promotion event ends, the merchant changes the image in the QRcode back to that shown in FIG. 3.

While scanning a QR code, a user's terminal device also takes an imageof text associated with the QR code. The terminal device obtains aserver address and a merchant identifier from the QR code information,and sends an operation request message including the image of text andthe merchant identifier to the server. Upon receiving the operationrequest message, the server recognizes the text content in the image oftext and searches the correspondence relationship for operation accessinformation corresponding to the text content. If the operation accessinformation is found, the server returns the corresponding operationaccess information to the terminal device, and the terminal devicestarts the running of a corresponding program using the returnedoperation access information. When the QR code shown in FIG. 3 isscanned, the merchant's App is downloaded and installed, and userregistration is performed. When the QR code shown in FIG. 4 is scanned,this merchant's coupon is received in an App of a third-party paymentplatform on the terminal device. If the server does not find therecognized text content in the correspondence relationship, the serverreturns the default operation access information to the terminal device,and the terminal device runs the operation process of downloading andinstalling the App of the merchant and performing user registration.

In this way, the merchant does not need to make and place new QR codematerials for a temporary promotion event, and the original QR code canbe used to start a new operation process by revising the image of textassociated with the QR code.

In another application example of the specification, in an App havinginstant communication and payment functions, each user has the user'sown QR code at a client. In the correspondence relationship betweensecond function information and operation access information, the serverof the App configures “vertical” to correspond to an address of anadding contact page of this App and “horizontal” to correspond to apayment page address of this App.

For example, User A of this App displays User A's own QR code on atablet computer for User B's cell phone to scan. While scanning the QRcode, this App's client on User B's cell phone extracts output data of agyroscope on the cell phone, and determines whether the attitude of thecell phone is horizontal (e.g., whether the cell phone's screen isparallel to the floor) or vertical (e.g., whether the cell phone'sscreen is perpendicular to the floor) while scanning the QR code. TheApp client of User B sends the attitude information (e.g., “horizontal”or “vertical”) and User A's identifier to the server in an operationrequest message. The server searches the correspondence relationship fora page address corresponding to the attitude information of User B'scell phone, and returns the corresponding page address and User A'sinformation to User B's client, such that User B's client starts acorresponding operation process.

In this way, the same QR code of User A can be used, through the cellphone's attitude measurements while scanning the QR code, to startdifferent operation processes for achieving different functions withoutthe need to compile codes for generating and presenting a second QR codefor a second operation process and to update the client software.

Corresponding to the above-described flows of the methods, theembodiments of the specification further provide an apparatus forstarting an operation process, applied to a terminal device, and anapparatus for starting an operation process, applied to a server. Thesetwo apparatuses can both be implemented through software, or may also beimplemented through hardware or a combination of software and hardware.Taking software implementation as an example, an apparatus in thelogical sense is formed by a Central Process Unit (CPU) of a devicewhere the terminal device or server is located reading a correspondingcomputer program instruction into a memory for running. From a hardwareperspective, in addition to the CPU, memory and storage shown in FIG. 5,the terminal device where the apparatus for starting an operationprocess is located may also comprise other hardware, such as a chip forreceiving and transmitting wireless signals, and the device where theapparatus for starting an operation process applied to a server islocated may also comprise other hardware, such as a board or card forachieving network communication functions.

FIG. 6 illustrates an apparatus for starting an operation process,applied to a terminal device, according to some embodiments of thespecification. The apparatus comprises: a first function informationobtaining unit, an operation request sending unit, and an operationaccess information receiving unit, where the first function informationobtaining unit is configured to scan a barcode to obtain barcodeinformation and obtain first function information of the barcode, thefirst function information being used for specifying an operationfunction; the operation request sending unit is configured to send,according to the barcode information, an operation request messagecomprising the first function information to a server, for the server todetermine second function information according to the first functioninformation and determine operation access information according to acorrespondence relationship between the second function information andthe operation access information; and the operation access informationreceiving unit is configured to receive the operation access informationreturned by the server, and start an operation process by using theoperation access information, the operation process having the operationfunction specified by the first function information.

In some embodiments, the barcode information comprises: a barcodeprovider identifier; the operation request message further comprises: abarcode provider identifier; and the server determining operation accessinformation according to a correspondence relationship between thesecond function information and the operation access informationcomprises: the server determining operation access information accordingto a correspondence relationship among the barcode provider identifiers,the second function information and the operation access information.

In some embodiments, the first function information obtaining unit isconfigured to, for example, scan a barcode to obtain barcode informationand an image of text of the barcode and use the image of text as thefirst function information; alternatively, scan a barcode to obtainbarcode information and an image of text of the barcode and use textcontent obtained by recognizing the image of text as the first functioninformation.

In some embodiments, the first function information comprises: attitudeinformation of the terminal device; the first function informationobtaining unit is configured to, for example, scan a barcode to obtainbarcode information, and use output data of a gyroscope of the terminaldevice to determine attitude information of the terminal device whenscanning the barcode.

In some embodiments, the first function information obtaining unit isconfigured to, for example, scan a barcode to obtain barcodeinformation, receive a fingerprint input by a user and generatefingerprint data, and use the fingerprint data as the first functioninformation; alternatively, scan a barcode to obtain barcodeinformation, receive a fingerprint input by a user, recognize the inputfingerprint to obtain a corresponding fingerprint identifier, and usethe fingerprint identifier as the first function information.

In some embodiments, the first function information obtaining unit isconfigured to, for example, scan a barcode to obtain barcodeinformation, receive a speech input by a user and generate audio data,and use the audio data as the first function information; alternatively,scan a barcode to obtain barcode information, receive a speech input bya user, recognize the input speech to obtain a text, and use the text asthe first function information.

FIG. 7 illustrates an apparatus for starting an operation process,applied to a server, according to some embodiments of the specification,where the server maintains a correspondence relationship between secondfunction information and operation access information, and the apparatuscomprises an operation request message receiving unit, a second functioninformation unit, and an operation access information sending unit,where the operation request message receiving unit is configured toreceive an operation request message comprising first functioninformation sent from a terminal device, the first function informationbeing used for specifying an operation function; the second functioninformation unit is configured to determine second function informationaccording to the first function information, and search thecorrespondence relationship to obtain operation access informationcorresponding to the second function information; and the operationaccess information sending unit is configured to return the operationaccess information to the terminal device, for the terminal device tostart an operation process by using the operation access information,the operation process having the operation function specified by thefirst function information.

In some embodiments, the correspondence relationship between secondfunction information and operation access information comprises: acorrespondence relationship among barcode provider identifiers, secondfunction information and operation access information; the operationrequest message further comprises: a barcode provider identifier; andthe second function information unit is configured to, for example,determine second function information according to the first functioninformation, and search the correspondence relationship to obtainoperation access information corresponding to the barcode provideridentifier and the second function information.

In some embodiments, the first function information comprises: an imageof text; the second function information comprises: text content; andthe second function information unit determining second functioninformation according to the first function information comprises:recognizing the image of text to obtain the text content; alternatively,the first function information and the second function informationcomprise: text content; and the second function information unitdetermining second function information according to the first functioninformation comprises: using the text content received from the terminaldevice as the second function information.

In some embodiments, the first function information and the secondfunction information comprise: attitude information of the terminaldevice; and the second function information unit determining secondfunction information according to the first function informationcomprises: using the attitude information received from the terminaldevice as the second function information.

In some embodiments, the first function information comprises:fingerprint data; the second function information comprises: afingerprint identifier; and the second function information unitdetermining second function information according to the first functioninformation comprises: recognizing the fingerprint data to obtain acorresponding fingerprint identifier; alternatively, the first functioninformation and the second function information comprise: a fingerprintidentifier; and the second function information unit determining secondfunction information according to the first function informationcomprises: using the fingerprint identifier received from the terminaldevice as the second function information.

In some embodiments, the first function information comprises: audiodata; the second function information comprises: a function keyword; andthe second function information unit determining second functioninformation according to the first function information comprises:recognizing the audio data and determining the function keywordexpressed by the audio data according to a recognition result;alternatively, the first function information comprises: text; thesecond function information comprises: a function keyword; and thesecond function information unit determining second function informationaccording to the first function information comprises: determining thefunction keyword expressed by the text.

In some embodiments, the apparatus further comprises a default operationaccess information unit configured to return default operation accessinformation to the terminal device when the correspondence relationshipdoes not comprise second function information determined according tothe first function information.

The embodiments of the specification provide a terminal device,comprising a memory and a processor, where the memory stores computerprograms executable by the processor, and when executing the computerprograms, the processor implements the steps of the method for startingan operation process, applied to a terminal device, according to theembodiments of the specification. The above description may bereferenced for detailed description of the steps of the method forstarting an operation process, applied to a terminal device, which willnot be repeated.

The embodiments of the specification provide a computer device,comprising: a memory and a processor, where the memory stores computerprograms executable by the processor, and when executing the computerprograms, the processor implements the steps of the method for startingan operation process, applied to a server, according to the embodimentsof the specification. The above description may be referenced fordetailed description of the steps of the method for starting anoperation process, applied to a server, which will not be repeated.

The embodiments of the specification provide a computer readable storagemedium, which stores computer programs, and the computer programs, whenexecuted by a processor, implement the steps of the method for startingan operation process, applied to a terminal device, according to theembodiments of the specification. The above description may bereferenced for detailed description of the steps of the method forstarting an operation process, applied to a terminal device, which willnot be repeated.

The embodiments of the specification provide a computer readable storagemedium, which stores computer programs, and the computer programs, whenexecuted by a processor, implement the steps of the method for startingan operation process, applied to a server, according to the embodimentsof the specification. The above description may be referenced fordetailed description of the steps of the method for starting anoperation process, applied to a server, which will not be repeated.

The above-described is some embodiments of the application, which arenot used to limit the application. Any modification, equivalentsubstitution, or improvement made within the spirit and principle of theapplication shall be encompassed by the protection scope of theapplication.

In a typical configuration, a computation device includes one or moreprocessors (CPUs), input/output interfaces, network interfaces, and amemory.

The memory may include computer readable media, such as a volatilememory, a Random Access Memory (RAM), and/or a non-volatile memory,e.g., a Read-Only Memory (ROM) or a flash RAM. The memory is an exampleof a computer readable medium.

Computer readable media include non-volatile and volatile, movable andnon-movable media, which can implement information storage through anymethod or technology. The information may be computer readableinstructions, data structures, program modules, or other data. Examplesof storage media of computers include, but are not limited to,Phase-change Random Access Memories (PRAMs), Static Random AccessMemories (SRAMs), Dynamic Random Access Memories (DRAMs), other types ofRandom Access Memories (RAMs), Read-Only Memories (ROMs), ElectricallyErasable Programmable Read-Only Memories (EEPROMs), flash memories orother memory technologies, Compact Disk Read-Only Memories (CD-ROMs),Digital Versatile Discs (DVDs) or other optical memories, cassettetapes, cassette and disk memories or other magnetic memory devices, orany other non-transmission media, which can be used for storinginformation accessible to a computation device. According to thedefinitions in the specification, the computer readable media do notinclude transitory media, such as modulated data signals and carriers.

It should be further noted that the terms of “including,” “comprising”or any other variants of the terms are intended to encompass anon-exclusive inclusion, causing a process, method, commodity, or devicecomprising a series of elements to not only comprise these elements, butalso comprise other elements that are not explicitly listed, or furthercomprise elements that are inherent to the process, method, commodity,or device. When there is no further restriction, elements described bythe statement “comprising one . . . ” does not exclude that a process,method, commodity, or device comprising the above elements furthercomprises additional identical elements.

One of ordinary skill in the art should understand that the embodimentsof the specification may be provided as a method, a system, or acomputer program product. Therefore, the embodiments of thespecification may be implemented as a complete hardware embodiment, acomplete software embodiment, or an embodiment combing software andhardware. Moreover, the embodiments of the specification may be in theform of a computer program product implemented on one or more computerusable storage media (including, but not limited to, a magnetic diskmemory, CD-ROM, an optical memory, etc.) comprising computer usableprogram codes.

What is claimed is:
 1. A method for starting an operation process,implemented by a server, comprising: receiving an operation requestmessage from a terminal device in response to the terminal devicescanning a barcode to obtain barcode information and determining anaddress of the server based on the barcode information, the operationrequest comprising an image of text associated with the barcode scannedby the terminal device, and the image of text specifying an operationfunction; determining text content based on the image of text; searchinga correspondence relationship between different text content andrespective operation access information to obtain operation accessinformation corresponding to the determined text content; and returningthe operation access information to the terminal device, for theterminal device to start an operation process by using the operationaccess information, the operation process having the operation functionspecified by the received image of text.
 2. The method according toclaim 1, wherein the operation request message further comprises: anidentifier of a barcode provider of the barcode.
 3. The method accordingto claim 2, wherein the correspondence relationship between differenttext content and respective operation access information comprises:correspondence relationship among a plurality of identifiers of barcodeproviders, the different text content and respective operation accessinformation.
 4. The method according to claim 3, wherein searching acorrespondence relationship between different text content andrespective operation access information to obtain operation accessinformation corresponding to the determined text content comprises:searching the correspondence relationship to obtain operation accessinformation corresponding to the identifier of the barcode provider ofthe barcode and the determined text content.
 5. The method according toclaim 1, further comprising: returning default operation accessinformation to the terminal device in response to determining that thecorrespondence relationship does not comprise the determined textcontent.
 6. The method according to claim 1, wherein the operationaccess information comprises: an address of an operation process startpage or invocation information of an operation access program.
 7. Themethod according to claim 1, wherein the operation process comprises:user registration or receiving a coupon.
 8. A method for starting anoperation process, implemented by a terminal device, comprising:scanning a barcode to obtain barcode information and obtain an image oftext associated with the barcode, the image of text specifying anoperation function; determining an address of a server based on thebarcode information; recognizing the image of text to determine textcontent; sending to the server according to the address of the server anoperation request message comprising the text content, for the server todetermine operation access information according to a correspondencerelationship between the text content and the operation accessinformation; receiving the operation access information from the server;and starting an operation process by using the operation accessinformation, the operation process having the operation functionspecified by the image of text.
 9. The method according to claim 8,wherein scanning a barcode to obtain barcode information and obtain animage of text associated with the barcode comprises: scanning thebarcode and the image of text associated with the barcode to obtain thebarcode information and to obtain the image of text.
 10. The methodaccording to claim 8, further comprising: extracting an identifier of abarcode provider of the barcode from the barcode information; andwherein the operation request message further comprises: the identifierof the barcode provider of the barcode.
 11. The method according toclaim 10, wherein the correspondence relationship between the textcontent and the operation access information comprises: correspondencerelationship among a plurality of identifiers of barcode providers,different text content and respective operation access information. 12.The method according to claim 8, the operation process comprises: userregistration or receiving a coupon.
 13. The method according to claim 1,wherein the operation access information comprises: an address of anoperation process start page or invocation information of an operationaccess program.
 14. The method according to claim 8, wherein theoperation access information is default operation access information;and wherein starting an operation process by using the operation accessinformation comprises: starting a default operation process by using thedefault operation access information.
 15. An apparatus for starting anoperation process, comprising: one or more processors and one or morenon-transitory computer-readable memories coupled to the one or moreprocessors and configured with instructions executable by the one ormore processors to cause the apparatus to perform: receiving anoperation request message from a terminal device in response to theterminal device scanning a barcode to obtain barcode information anddetermining an address of the server based on the barcode information,the operation request comprising an image of text associated with thebarcode scanned by the terminal device, and the image of text specifyingan operation function; determining text content based on the image oftext; searching a correspondence relationship between different textcontent and respective operation access information to obtain operationaccess information corresponding to the determined text content; andreturning the operation access information to the terminal device, forthe terminal device to start an operation process by using the operationaccess information, the operation process having the operation functionspecified by the received image of text.
 16. The apparatus according toclaim 15, wherein the operation request message further comprises: anidentifier of a barcode provider of the barcode.
 17. The apparatusaccording to claim 16, wherein the correspondence relationship betweendifferent text content and respective operation access informationcomprises: correspondence relationship among a plurality of identifiersof barcode providers, the different text content and respectiveoperation access information.
 18. The apparatus according to claim 17,wherein searching a correspondence relationship between different textcontent and respective operation access information to obtain operationaccess information corresponding to the determined text contentcomprises: searching the correspondence relationship to obtain operationaccess information corresponding to the identifier of the barcodeprovider of the barcode and the determined text content.
 19. Theapparatus according to claim 15, wherein the instructions are executableby the one or more processors to cause the apparatus to further perform:returning default operation access information to the terminal device inresponse to determining that the correspondence relationship does notcomprise the determined text content.
 20. The apparatus according toclaim 15, wherein the operation access information comprises: an addressof an operation process start page or invocation information of anoperation access program.